<%-include('./common/header.html',{css:'common'}) %>
<!-- build:css css/login-new.css -->
<link rel="stylesheet" href="./../styles/login-new.css">
<!-- endbuild -->
<style>
    .form-group.has-error .text-danger {
        display: none !important;
    }
</style>
<title>登录</title>
</head>
<body>
<div class="brand-intro">
    <div class="container">
        <form class='form-horizontal' style="margin: 0 50px 0 auto;width: 500px;"
              id="user-form">
            <div style="
        position: relative;
    border: 3px solid #ddd;
    border: 3px solid rgba(204, 204, 204, 0.66);
    background: rgba(255, 255, 255, 0.78);
    width: 350px;
    font-weight: 100;margin: 0 auto;
    padding: 40px 0px 20px 0;
">
                <div class="form-group" style="width: 358px;">
                    <label for="validate-username"
                           style="text-align: right;padding-right:5px;float:left;font-weight: 100;width: 100px;"
                           class=" control-label">用户名</label>
                    <div class="" style="float:left;width: 220px;">
                        <input type="text" style="height: 30px;    font-family: Tahoma,Verdana;
    font-size: 14px;" class="form-control" id="validate-username"
                               placeholder="用户名" data-rule-minlength="2"
                               autocomplete="off"
                               data-rule-required='true'
                               name='userName'>
                    </div>

                </div>
                <div class="form-group" style="width: 358px;">
                    <label for="validate-password"
                           style="text-align: right;padding-right:5px;float:left;font-weight: 100;width: 100px;"
                           class=" control-label">密码</label>
                    <div class="" style="width: 220px;float:left;">
                        <input type="password" style="height: 30px;" class="form-control"
                               name="password"
                               id="validate-password"
                               autocomplete="off"
                               placeholder="密码" data-rule-required='true'
                               data-rule-minlength="5" data-rule-maxlength='30'>
                    </div>
                </div>
                <div class="form-group" style="width: 358px;">
                    <label for="validate-code"
                           style="text-align: right;padding-right:5px;float:left;font-weight: 100;width: 100px;"
                           class=" control-label">验证码</label>
                    <div class="" style="width: 220px;float:left;">
                        <input type="text" style="    font-family: Tahoma,Verdana;
    font-size: 14px;height: 30px;width: 115px;display: inline;" class="form-control"
                               name="imgCode"
                               id="validate-code"
                               autocomplete="off"
                               placeholder="验证码" data-rule-required='true'
                               data-rule-minlength="4">
                        <img name="img-code" style="    position: relative;
    top: -1px;cursor:pointer;height: 30px;width: 100px;"
                             src="/api/admin/code/captcha-image" alt="">
                    </div>
                </div>
                <div class="form-group" style="width: 358px;">
                    <label for="validate-password" style="float:left;font-weight: 100;width: 100px;"
                           class=" control-label"></label>
                    <div class=" " style="float:left;width: 250px;text-align: left;" style="text-align: left;">
                        <button id="submit"
                                type="submit"
                                data-loading-text="登录中..."
                                class="btn btn-lg btn-success"
                                style="font-weight: 100;
                                min-width: 80px;
                                height: 30px;
                                font-size: 16px;
                                line-height: 20px;"
                                autocomplete="off"
                        >登录
                        </button>
                        <span class="error " style="color: #daf1f8;font-size: 12px;"></span>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
<%- include('./common/footer.html') %>
</body>
</html>